package com.missyoubug.easyjtest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.MutablePropertySources;

import java.util.HashMap;
import java.util.Properties;

@SpringBootApplication
public class EasyJTestApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(EasyJTestApplication.class, args);
        String[] beanDefinitionNames = run.getBeanDefinitionNames();
        for (String beanDefinitionName : beanDefinitionNames) {
            System.out.println(beanDefinitionName);
        }

    }
}
